﻿namespace CSharpPro2._1030;

public class Student
{
    private string name;
    private int age;
    private String gender;
    public Student(){}

    public Student(string name, int age, String gender)
    {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public String Name
    {
        get { return name; }
        set { name = value; }
    }

    public int Age
    {
        get { return age; }
        set { age = value; }
    }

    public String Gender
    {
        get { return gender; }
        set { gender = value; }
    }
}